#ulbox {
    width: 500px;
    height: 200px;
    border: 1px solid red;
    box-sizing: border-box;
    overflow: auto;
}